//
// Created by liqian-ps on 2018/6/19.
//

#include "SoundTouchStream.h"


int SoundTouchStream:: getSampleRate()
{
    return sampleRate;
}

int SoundTouchStream::getBytesPerSample()
{
    return bytesPerSample;
}

void SoundTouchStream::setSampleRate(int sampleRate)
{
    SoundTouch::setSampleRate(sampleRate);
    this->sampleRate = sampleRate;
}

void SoundTouchStream::setBytesPerSample(int bytesPerSample)
{
    this->bytesPerSample = bytesPerSample;
}

uint SoundTouchStream::getChannels()
{
    return channels;
}

SoundTouchStream::SoundTouchStream()
{
    sampleRate = bytesPerSample = 0;
}

